#!/bin/sh

user=soju
group=soju

addgroup -S $group 2>/dev/null
adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null
# The soju home directory contains soju's database and irc logs, which are
# sensitive information.
chmod o-rwx /var/lib/$user

exit 0
